#include <stdio.h>
#include <wiringPi.h>
#include <netinet/in.h>


typedef struct InputCommander
{
	char commandName[128];
	char command[128];
	char voicesName[48];
	int (*init)(struct InputCommander *voicer);
	int (*getCommand)(struct InputCommander *voicer);
	char log[1024];
	int fd;
	int sockfd;
	char port[12];
	char ipAddress[32];
	struct InputCommander *next;
}input;

input *addVoicContrlToInputLink(input *phead);
input *addSocketContrlToInputLink(input *phead);